package com.jiao.apacheCommonsLog;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;

/**
 *  apache commons logging 只提供日志接口，具体实现用日志框架 log4j
 */
public class CommonsLoggingDemo {
    private Log log = LogFactory.getLog(CommonsLoggingDemo.class);

    @Test
    public void test(){
        log.debug("23423411");
        log.error("info -------");
        log.fatal("123111111111111");
    }
}
